import styles from './index.module.scss';

import empty from '/@/assets/svg/empty.svg';
const Empty = ({ description = '暂无数据' }: { description?: string }) => (
  <div className={styles.empty}>
    <img src={empty} alt={description} />
    <span>{description}</span>
  </div>
);

export default Empty;
